{{-- <meta name="csrf-token" content="{{ csrf_token() }}"> --}}
<fieldset class="layui-elem-field layui-field-title">
    <legend>
    <span class="layui-breadcrumb">
        <a href="javascript:;">玩家信息</a>
        <a><cite>登录日志</cite></a>
    </span>
    </legend>
</fieldset>


<table id="login_table" class="layui-table">
    <thead>
    <tr>
        <th><input type="checkbox" class="my-checkbox" /></th>
        <th>序号</th>
        <th>登录时间</th>
        <th>登录设备</th>
        <th>在线时长</th>
    </tr>
    </thead>
    <tbody>
    @foreach($login_logs as $key => $log)
        <tr>
            <td><input type="checkbox" class="my-checkbox" data-id="{{ $log->id }}" /></td>
            <td>{{ $key+1 }}</td>
            <td>{{ date('Y-m-d H:i:s', $log->login_time) }}</td>
            <td>{{ $log->device }}</td>
            <td>{{ $log->online_time }}</td>
        </tr>
    @endforeach
    </tbody>
</table>

